package com.java.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "shop.thread")
@Component
@Data
public class MyThreadConfigProperties {
    private Integer corePoolSize;   //核心线程数量
    private Integer maximumPoolSize;//最大线程数量
    private Long keepAliveTime;     //线程存活时间
}
